﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace InnovTech.Data
{
    /// <summary>
    /// Describes the parameters for a behavior.
    /// </summary>
    public interface IBehaviorParameter
    {
        /// <summary>
        /// Gets all names of parameters
        /// </summary>
        /// <returns></returns>
        List<string> GetParameterNames();
        /// <summary>
        /// Gets the value of a parameter by the given name.
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="paramName"></param>
        /// <returns></returns>
        T GetParameterValue<T>(string paramName);
        /// <summary>
        /// Gets or sets the value of a parameter.
        /// </summary>
        /// <param name="paramName"></param>
        /// <returns></returns>
        object this[string paramName] { get; set; }
        /// <summary>
        /// Checks whether the given parameter is contained.
        /// </summary>
        /// <param name="paramName"></param>
        /// <returns></returns>
        bool Contains(string paramName);
    }
}
